<!DOCTYPE html>
<html lang="en">
 <head>
  <meta charset="UTF-8">
  <title>Dashboard for /Users/guangfan.qu/htdocs/new/sdk/opensearch-sdk-php/OpenSearch/Generated/Search</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link href="../../../css/bootstrap.min.css" rel="stylesheet">
  <link href="../../../css/nv.d3.min.css" rel="stylesheet">
  <link href="../../../css/style.css" rel="stylesheet">
  <!--[if lt IE 9]>
  <script src="../../../js/html5shiv.min.js"></script>
  <script src="../../../js/respond.min.js"></script>
  <![endif]-->
 </head>
 <body>
  <header>
   <div class="container">
    <div class="row">
     <div class="col-md-12">
      <ol class="breadcrumb">
        <li><a href="../../../index.html">/Users/guangfan.qu/htdocs/new/sdk/opensearch-sdk-php</a></li>
        <li><a href="../../index.html">OpenSearch</a></li>
        <li><a href="../index.html">Generated</a></li>
        <li><a href="index.html">Search</a></li>
        <li class="active">(Dashboard)</li>

      </ol>
     </div>
    </div>
   </div>
  </header>
  <div class="container">
   <div class="row">
    <div class="col-md-12">
     <h2>Classes</h2>
    </div>
   </div>
   <div class="row">
    <div class="col-md-6">
     <h3>Coverage Distribution</h3>
     <div id="classCoverageDistribution" style="height: 300px;">
       <svg></svg>
     </div>
    </div>
    <div class="col-md-6">
     <h3>Complexity</h3>
     <div id="classComplexity" style="height: 300px;">
       <svg></svg>
     </div>
    </div>
   </div>
   <div class="row">
    <div class="col-md-6">
     <h3>Insufficient Coverage</h3>
     <div class="scrollbox">
      <table class="table">
       <thead>
        <tr>
         <th>Class</th>
         <th class="text-right">Coverage</th>
        </tr>
       </thead>
       <tbody>
       <tr><td><a href="OpenSearchSearcherService.php.html#30">OpenSearchSearcherServiceClient</a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#177">OpenSearchSearcherService_execute_result</a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#307">OpenSearchSearcherServiceProcessor</a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#97">OpenSearchSearcherService_execute_args</a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#51">Config</a></td><td class="text-right">17%</td></tr>
       <tr><td><a href="Types.php.html#402">DeepPaging</a></td><td class="text-right">18%</td></tr>
       <tr><td><a href="Types.php.html#1574">Suggest</a></td><td class="text-right">19%</td></tr>
       <tr><td><a href="Types.php.html#612">Sort</a></td><td class="text-right">19%</td></tr>
       <tr><td><a href="Types.php.html#1649">SearchParams</a></td><td class="text-right">22%</td></tr>
       <tr><td><a href="Types.php.html#1340">Distinct</a></td><td class="text-right">24%</td></tr>
       <tr><td><a href="Types.php.html#719">Rank</a></td><td class="text-right">25%</td></tr>
       <tr><td><a href="Types.php.html#504">SortField</a></td><td class="text-right">29%</td></tr>
       <tr><td><a href="Types.php.html#850">Summary</a></td><td class="text-right">31%</td></tr>
       <tr><td><a href="Types.php.html#1096">Aggregate</a></td><td class="text-right">32%</td></tr>
       <tr><td><a href="Types.php.html#2287">Constant</a></td><td class="text-right">79%</td></tr>

       </tbody>
      </table>
     </div>
    </div>
    <div class="col-md-6">
     <h3>Project Risks</h3>
     <div class="scrollbox">
      <table class="table">
       <thead>
        <tr>
         <th>Class</th>
         <th class="text-right"><abbr title="Change Risk Anti-Patterns (CRAP) Index">CRAP</abbr></th>
        </tr>
       </thead>
       <tbody>
       <tr><td><a href="Types.php.html#1649">SearchParams</a></td><td class="text-right">3725</td></tr>
       <tr><td><a href="Types.php.html#51">Config</a></td><td class="text-right">1386</td></tr>
       <tr><td><a href="Types.php.html#1340">Distinct</a></td><td class="text-right">586</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#177">OpenSearchSearcherService_execute_result</a></td><td class="text-right">462</td></tr>
       <tr><td><a href="Types.php.html#850">Summary</a></td><td class="text-right">451</td></tr>
       <tr><td><a href="Types.php.html#1096">Aggregate</a></td><td class="text-right">427</td></tr>
       <tr><td><a href="Types.php.html#719">Rank</a></td><td class="text-right">182</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#97">OpenSearchSearcherService_execute_args</a></td><td class="text-right">182</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#30">OpenSearchSearcherServiceClient</a></td><td class="text-right">156</td></tr>
       <tr><td><a href="Types.php.html#402">DeepPaging</a></td><td class="text-right">153</td></tr>
       <tr><td><a href="Types.php.html#612">Sort</a></td><td class="text-right">132</td></tr>
       <tr><td><a href="Types.php.html#504">SortField</a></td><td class="text-right">104</td></tr>
       <tr><td><a href="Types.php.html#1574">Suggest</a></td><td class="text-right">88</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#307">OpenSearchSearcherServiceProcessor</a></td><td class="text-right">72</td></tr>

       </tbody>
      </table>
     </div>
    </div>
   </div>
   <div class="row">
    <div class="col-md-12">
     <h2>Methods</h2>
    </div>
   </div>
   <div class="row">
    <div class="col-md-6">
     <h3>Coverage Distribution</h3>
     <div id="methodCoverageDistribution" style="height: 300px;">
       <svg></svg>
     </div>
    </div>
    <div class="col-md-6">
     <h3>Complexity</h3>
     <div id="methodComplexity" style="height: 300px;">
       <svg></svg>
     </div>
    </div>
   </div>
   <div class="row">
    <div class="col-md-6">
     <h3>Insufficient Coverage</h3>
     <div class="scrollbox">
      <table class="table">
       <thead>
        <tr>
         <th>Method</th>
         <th class="text-right">Coverage</th>
        </tr>
       </thead>
       <tbody>
       <tr><td><a href="Types.php.html#1207"><abbr title="Aggregate::getName">getName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#1039"><abbr title="Summary::write">write</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#1211"><abbr title="Aggregate::read">read</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#1285"><abbr title="Aggregate::write">write</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#1451"><abbr title="Distinct::getName">getName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#965"><abbr title="Summary::read">read</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#961"><abbr title="Summary::getName">getName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#688"><abbr title="Sort::write">write</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#31"><abbr title="OpenSearchSearcherServiceClient::__construct">__construct</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#771"><abbr title="Rank::getName">getName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#775"><abbr title="Rank::read">read</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#821"><abbr title="Rank::write">write</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#1455"><abbr title="Distinct::read">read</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#1529"><abbr title="Distinct::write">write</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#2366"><abbr title="Constant::init_DISTINCT_CLAUSE_UPDATE_TOTAL_HIT">init_DISTINCT_CLAUSE_UPDATE_TOTAL_HIT</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#2362"><abbr title="Constant::init_DISTINCT_CLAUSE_DIST_FILTER">init_DISTINCT_CLAUSE_DIST_FILTER</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#2370"><abbr title="Constant::init_DISTINCT_CLAUSE_GRADE">init_DISTINCT_CLAUSE_GRADE</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#2418"><abbr title="Constant::init_SUMMARY_PARAM_SUMMARY_ELEMENT">init_SUMMARY_PARAM_SUMMARY_ELEMENT</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#2430"><abbr title="Constant::init_FORMAT_PARAM">init_FORMAT_PARAM</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#2342"><abbr title="Constant::init_SORT_CLAUSE_RANK">init_SORT_CLAUSE_RANK</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#2111"><abbr title="SearchParams::write">write</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#1602"><abbr title="Suggest::read">read</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#1598"><abbr title="Suggest::getName">getName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#1634"><abbr title="Suggest::write">write</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#1905"><abbr title="SearchParams::getName">getName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#1909"><abbr title="SearchParams::read">read</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#641"><abbr title="Sort::getName">getName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#645"><abbr title="Sort::read">read</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#226"><abbr title="OpenSearchSearcherService_execute_result::getName">getName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#193"><abbr title="OpenSearchSearcherService_execute_result::__construct">__construct</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#230"><abbr title="OpenSearchSearcherService_execute_result::read">read</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#279"><abbr title="OpenSearchSearcherService_execute_result::write">write</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#308"><abbr title="OpenSearchSearcherServiceProcessor::__construct">__construct</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#159"><abbr title="OpenSearchSearcherService_execute_args::write">write</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#126"><abbr title="OpenSearchSearcherService_execute_args::read">read</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#41"><abbr title="OpenSearchSearcherServiceClient::send_execute">send_execute</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#35"><abbr title="OpenSearchSearcherServiceClient::execute">execute</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#59"><abbr title="OpenSearchSearcherServiceClient::recv_execute">recv_execute</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#105"><abbr title="OpenSearchSearcherService_execute_args::__construct">__construct</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#122"><abbr title="OpenSearchSearcherService_execute_args::getName">getName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#312"><abbr title="OpenSearchSearcherServiceProcessor::process">process</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#333"><abbr title="OpenSearchSearcherServiceProcessor::process_execute">process_execute</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#484"><abbr title="DeepPaging::write">write</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#445"><abbr title="DeepPaging::read">read</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#545"><abbr title="SortField::getName">getName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#549"><abbr title="SortField::read">read</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#588"><abbr title="SortField::write">write</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#441"><abbr title="DeepPaging::getName">getName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#299"><abbr title="Config::write">write</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#188"><abbr title="Config::read">read</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#184"><abbr title="Config::getName">getName</a></a></td><td class="text-right">0%</td></tr>
       <tr><td><a href="Types.php.html#107"><abbr title="Config::__construct">__construct</a></a></td><td class="text-right">60%</td></tr>
       <tr><td><a href="Types.php.html#418"><abbr title="DeepPaging::__construct">__construct</a></a></td><td class="text-right">63%</td></tr>
       <tr><td><a href="Types.php.html#1582"><abbr title="Suggest::__construct">__construct</a></a></td><td class="text-right">69%</td></tr>
       <tr><td><a href="Types.php.html#1393"><abbr title="Distinct::__construct">__construct</a></a></td><td class="text-right">75%</td></tr>
       <tr><td><a href="Types.php.html#620"><abbr title="Sort::__construct">__construct</a></a></td><td class="text-right">76%</td></tr>
       <tr><td><a href="Types.php.html#1762"><abbr title="SearchParams::__construct">__construct</a></a></td><td class="text-right">80%</td></tr>
       <tr><td><a href="Types.php.html#741"><abbr title="Rank::__construct">__construct</a></a></td><td class="text-right">84%</td></tr>

       </tbody>
      </table>
     </div>
    </div>
    <div class="col-md-6">
     <h3>Project Risks</h3>
     <div class="scrollbox">
      <table class="table">
       <thead>
        <tr>
         <th>Method</th>
         <th class="text-right"><abbr title="Change Risk Anti-Patterns (CRAP) Index">CRAP</abbr></th>
        </tr>
       </thead>
       <tbody>
       <tr><td><a href="Types.php.html#1909"><abbr title="SearchParams::read">read</abbr></a></td><td class="text-right">1482</td></tr>
       <tr><td><a href="Types.php.html#2111"><abbr title="SearchParams::write">write</abbr></a></td><td class="text-right">1190</td></tr>
       <tr><td><a href="Types.php.html#188"><abbr title="Config::read">read</abbr></a></td><td class="text-right">506</td></tr>
       <tr><td><a href="Types.php.html#1211"><abbr title="Aggregate::read">read</abbr></a></td><td class="text-right">306</td></tr>
       <tr><td><a href="Types.php.html#1455"><abbr title="Distinct::read">read</abbr></a></td><td class="text-right">306</td></tr>
       <tr><td><a href="Types.php.html#965"><abbr title="Summary::read">read</abbr></a></td><td class="text-right">306</td></tr>
       <tr><td><a href="Types.php.html#299"><abbr title="Config::write">write</abbr></a></td><td class="text-right">240</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#230"><abbr title="OpenSearchSearcherService_execute_result::read">read</abbr></a></td><td class="text-right">90</td></tr>
       <tr><td><a href="Types.php.html#775"><abbr title="Rank::read">read</abbr></a></td><td class="text-right">90</td></tr>
       <tr><td><a href="Types.php.html#1529"><abbr title="Distinct::write">write</abbr></a></td><td class="text-right">72</td></tr>
       <tr><td><a href="Types.php.html#1285"><abbr title="Aggregate::write">write</abbr></a></td><td class="text-right">72</td></tr>
       <tr><td><a href="Types.php.html#1039"><abbr title="Summary::write">write</abbr></a></td><td class="text-right">72</td></tr>
       <tr><td><a href="Types.php.html#445"><abbr title="DeepPaging::read">read</abbr></a></td><td class="text-right">56</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#59"><abbr title="OpenSearchSearcherServiceClient::recv_execute">recv_execute</abbr></a></td><td class="text-right">56</td></tr>
       <tr><td><a href="Types.php.html#549"><abbr title="SortField::read">read</abbr></a></td><td class="text-right">56</td></tr>
       <tr><td><a href="Types.php.html#645"><abbr title="Sort::read">read</abbr></a></td><td class="text-right">42</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#193"><abbr title="OpenSearchSearcherService_execute_result::__construct">__construct</abbr></a></td><td class="text-right">42</td></tr>
       <tr><td><a href="Types.php.html#1602"><abbr title="Suggest::read">read</abbr></a></td><td class="text-right">30</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#333"><abbr title="OpenSearchSearcherServiceProcessor::process_execute">process_execute</abbr></a></td><td class="text-right">30</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#279"><abbr title="OpenSearchSearcherService_execute_result::write">write</abbr></a></td><td class="text-right">30</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#126"><abbr title="OpenSearchSearcherService_execute_args::read">read</abbr></a></td><td class="text-right">30</td></tr>
       <tr><td><a href="Types.php.html#821"><abbr title="Rank::write">write</abbr></a></td><td class="text-right">20</td></tr>
       <tr><td><a href="Types.php.html#688"><abbr title="Sort::write">write</abbr></a></td><td class="text-right">20</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#105"><abbr title="OpenSearchSearcherService_execute_args::__construct">__construct</abbr></a></td><td class="text-right">20</td></tr>
       <tr><td><a href="Types.php.html#107"><abbr title="Config::__construct">__construct</abbr></a></td><td class="text-right">18</td></tr>
       <tr><td><a href="Types.php.html#1762"><abbr title="SearchParams::__construct">__construct</abbr></a></td><td class="text-right">18</td></tr>
       <tr><td><a href="Types.php.html#588"><abbr title="SortField::write">write</abbr></a></td><td class="text-right">12</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#159"><abbr title="OpenSearchSearcherService_execute_args::write">write</abbr></a></td><td class="text-right">12</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#41"><abbr title="OpenSearchSearcherServiceClient::send_execute">send_execute</abbr></a></td><td class="text-right">12</td></tr>
       <tr><td><a href="Types.php.html#484"><abbr title="DeepPaging::write">write</abbr></a></td><td class="text-right">12</td></tr>
       <tr><td><a href="Types.php.html#1393"><abbr title="Distinct::__construct">__construct</abbr></a></td><td class="text-right">11</td></tr>
       <tr><td><a href="Types.php.html#418"><abbr title="DeepPaging::__construct">__construct</abbr></a></td><td class="text-right">6</td></tr>
       <tr><td><a href="Types.php.html#741"><abbr title="Rank::__construct">__construct</abbr></a></td><td class="text-right">6</td></tr>
       <tr><td><a href="OpenSearchSearcherService.php.html#312"><abbr title="OpenSearchSearcherServiceProcessor::process">process</abbr></a></td><td class="text-right">6</td></tr>
       <tr><td><a href="Types.php.html#1634"><abbr title="Suggest::write">write</abbr></a></td><td class="text-right">6</td></tr>
       <tr><td><a href="Types.php.html#1582"><abbr title="Suggest::__construct">__construct</abbr></a></td><td class="text-right">4</td></tr>
       <tr><td><a href="Types.php.html#620"><abbr title="Sort::__construct">__construct</abbr></a></td><td class="text-right">4</td></tr>

       </tbody>
      </table>
     </div>
    </div>
   </div>
   <footer>
    <hr/>
    <p>
     <small>Generated by <a href="http://github.com/sebastianbergmann/php-code-coverage" target="_top">PHP_CodeCoverage 2.1.3</a> using <a href="http://php.net/" target="_top">PHP 5.6.27</a> and <a href="http://phpunit.de/">PHPUnit 4.7.0</a> at Mon Apr 17 13:50:55 CST 2017.</small>
    </p>
   </footer>
  </div>
  <script src="../../../js/jquery.min.js" type="text/javascript"></script>
  <script src="../../../js/bootstrap.min.js" type="text/javascript"></script>
  <script src="../../../js/holder.min.js" type="text/javascript"></script>
  <script src="../../../js/d3.min.js" type="text/javascript"></script>
  <script src="../../../js/nv.d3.min.js" type="text/javascript"></script>
  <script type="text/javascript">
$(document).ready(function() {
  nv.addGraph(function() {
    var chart = nv.models.multiBarChart();
    chart.tooltips(false)
      .showControls(false)
      .showLegend(false)
      .reduceXTicks(false)
      .staggerLabels(true)
      .yAxis.tickFormat(d3.format('d'));

    d3.select('#classCoverageDistribution svg')
      .datum(getCoverageDistributionData([4,0,4,4,2,0,0,0,1,0,0,3], "Class Coverage"))
      .transition().duration(500).call(chart);

    nv.utils.windowResize(chart.update);

    return chart;
  });

  nv.addGraph(function() {
    var chart = nv.models.multiBarChart();
    chart.tooltips(false)
      .showControls(false)
      .showLegend(false)
      .reduceXTicks(false)
      .staggerLabels(true)
      .yAxis.tickFormat(d3.format('d'));

    d3.select('#methodCoverageDistribution svg')
      .datum(getCoverageDistributionData([51,0,0,0,0,0,0,3,2,2,1,25], "Method Coverage"))
      .transition().duration(500).call(chart);

    nv.utils.windowResize(chart.update);

    return chart;
  });

  function getCoverageDistributionData(data, label) {
    var labels = [
      '0%',
      '0-10%',
      '10-20%',
      '20-30%',
      '30-40%',
      '40-50%',
      '50-60%',
      '60-70%',
      '70-80%',
      '80-90%',
      '90-100%',
      '100%'
    ];
    var values = [];
    $.each(labels, function(key) {
      values.push({x: labels[key], y: data[key]});
    });

    return [
      {
        key: label,
        values: values,
        color: "#4572A7"
      }
    ];
  }
  nv.addGraph(function() {
    var chart = nv.models.scatterChart()
      .showDistX(true)
      .showDistY(true)
      .showLegend(false)
      .forceX([0, 100]);
    chart.scatter.onlyCircles(false);
    chart.tooltipContent(function(key, y, e, graph) {
      return '<p>' + graph.point.class + '</p>';
    });

    chart.xAxis.axisLabel('Code Coverage (in percent)');
    chart.yAxis.axisLabel('Cyclomatic Complexity');

    d3.select('#classComplexity svg')
      .datum(getComplexityData([[0,12,"<a href=\"OpenSearchSearcherService.php.html#30\">OpenSearchSearcherServiceClient<\/a>"],[0,13,"<a href=\"OpenSearchSearcherService.php.html#97\">OpenSearchSearcherService_execute_args<\/a>"],[0,21,"<a href=\"OpenSearchSearcherService.php.html#177\">OpenSearchSearcherService_execute_result<\/a>"],[0,8,"<a href=\"OpenSearchSearcherService.php.html#307\">OpenSearchSearcherServiceProcessor<\/a>"],[100,0,"<a href=\"Types.php.html#20\">SearchType<\/a>"],[100,0,"<a href=\"Types.php.html#29\">SearchFormat<\/a>"],[100,0,"<a href=\"Types.php.html#42\">Order<\/a>"],[17.727272727273,49,"<a href=\"Types.php.html#51\">Config<\/a>"],[18.75,16,"<a href=\"Types.php.html#402\">DeepPaging<\/a>"],[29.6875,16,"<a href=\"Types.php.html#504\">SortField<\/a>"],[19.402985074627,15,"<a href=\"Types.php.html#612\">Sort<\/a>"],[25.925925925926,20,"<a href=\"Types.php.html#719\">Rank<\/a>"],[31.543624161074,36,"<a href=\"Types.php.html#850\">Summary<\/a>"],[32.885906040268,36,"<a href=\"Types.php.html#1096\">Aggregate<\/a>"],[24.832214765101,36,"<a href=\"Types.php.html#1340\">Distinct<\/a>"],[19.148936170213,12,"<a href=\"Types.php.html#1574\">Suggest<\/a>"],[22.857142857143,89,"<a href=\"Types.php.html#1649\">SearchParams<\/a>"],[79.310344827586,29,"<a href=\"Types.php.html#2287\">Constant<\/a>"]], 'Class Complexity'))
      .transition()
      .duration(500)
      .call(chart);

    nv.utils.windowResize(chart.update);

    return chart;
  });

  nv.addGraph(function() {
    var chart = nv.models.scatterChart()
      .showDistX(true)
      .showDistY(true)
      .showLegend(false)
      .forceX([0, 100]);
    chart.scatter.onlyCircles(false);
    chart.tooltipContent(function(key, y, e, graph) {
      return '<p>' + graph.point.class + '</p>';
    });

    chart.xAxis.axisLabel('Code Coverage (in percent)');
    chart.yAxis.axisLabel('Method Complexity');

    d3.select('#methodComplexity svg')
      .datum(getComplexityData([[0,1,"<a href=\"OpenSearchSearcherService.php.html#31\">OpenSearchSearcherServiceClient::__construct<\/a>"],[0,1,"<a href=\"OpenSearchSearcherService.php.html#35\">OpenSearchSearcherServiceClient::execute<\/a>"],[0,3,"<a href=\"OpenSearchSearcherService.php.html#41\">OpenSearchSearcherServiceClient::send_execute<\/a>"],[0,7,"<a href=\"OpenSearchSearcherService.php.html#59\">OpenSearchSearcherServiceClient::recv_execute<\/a>"],[0,4,"<a href=\"OpenSearchSearcherService.php.html#105\">OpenSearchSearcherService_execute_args::__construct<\/a>"],[0,1,"<a href=\"OpenSearchSearcherService.php.html#122\">OpenSearchSearcherService_execute_args::getName<\/a>"],[0,5,"<a href=\"OpenSearchSearcherService.php.html#126\">OpenSearchSearcherService_execute_args::read<\/a>"],[0,3,"<a href=\"OpenSearchSearcherService.php.html#159\">OpenSearchSearcherService_execute_args::write<\/a>"],[0,6,"<a href=\"OpenSearchSearcherService.php.html#193\">OpenSearchSearcherService_execute_result::__construct<\/a>"],[0,1,"<a href=\"OpenSearchSearcherService.php.html#226\">OpenSearchSearcherService_execute_result::getName<\/a>"],[0,9,"<a href=\"OpenSearchSearcherService.php.html#230\">OpenSearchSearcherService_execute_result::read<\/a>"],[0,5,"<a href=\"OpenSearchSearcherService.php.html#279\">OpenSearchSearcherService_execute_result::write<\/a>"],[0,1,"<a href=\"OpenSearchSearcherService.php.html#308\">OpenSearchSearcherServiceProcessor::__construct<\/a>"],[0,2,"<a href=\"OpenSearchSearcherService.php.html#312\">OpenSearchSearcherServiceProcessor::process<\/a>"],[0,5,"<a href=\"OpenSearchSearcherService.php.html#333\">OpenSearchSearcherServiceProcessor::process_execute<\/a>"],[60.9375,11,"<a href=\"Types.php.html#107\">Config::__construct<\/a>"],[0,1,"<a href=\"Types.php.html#184\">Config::getName<\/a>"],[0,22,"<a href=\"Types.php.html#188\">Config::read<\/a>"],[0,15,"<a href=\"Types.php.html#299\">Config::write<\/a>"],[63.157894736842,5,"<a href=\"Types.php.html#418\">DeepPaging::__construct<\/a>"],[0,1,"<a href=\"Types.php.html#441\">DeepPaging::getName<\/a>"],[0,7,"<a href=\"Types.php.html#445\">DeepPaging::read<\/a>"],[0,3,"<a href=\"Types.php.html#484\">DeepPaging::write<\/a>"],[100,5,"<a href=\"Types.php.html#522\">SortField::__construct<\/a>"],[0,1,"<a href=\"Types.php.html#545\">SortField::getName<\/a>"],[0,7,"<a href=\"Types.php.html#549\">SortField::read<\/a>"],[0,3,"<a href=\"Types.php.html#588\">SortField::write<\/a>"],[76.470588235294,4,"<a href=\"Types.php.html#620\">Sort::__construct<\/a>"],[0,1,"<a href=\"Types.php.html#641\">Sort::getName<\/a>"],[0,6,"<a href=\"Types.php.html#645\">Sort::read<\/a>"],[0,4,"<a href=\"Types.php.html#688\">Sort::write<\/a>"],[84,6,"<a href=\"Types.php.html#741\">Rank::__construct<\/a>"],[0,1,"<a href=\"Types.php.html#771\">Rank::getName<\/a>"],[0,9,"<a href=\"Types.php.html#775\">Rank::read<\/a>"],[0,4,"<a href=\"Types.php.html#821\">Rank::write<\/a>"],[95.918367346939,10,"<a href=\"Types.php.html#903\">Summary::__construct<\/a>"],[0,1,"<a href=\"Types.php.html#961\">Summary::getName<\/a>"],[0,17,"<a href=\"Types.php.html#965\">Summary::read<\/a>"],[0,8,"<a href=\"Types.php.html#1039\">Summary::write<\/a>"],[100,10,"<a href=\"Types.php.html#1149\">Aggregate::__construct<\/a>"],[0,1,"<a href=\"Types.php.html#1207\">Aggregate::getName<\/a>"],[0,17,"<a href=\"Types.php.html#1211\">Aggregate::read<\/a>"],[0,8,"<a href=\"Types.php.html#1285\">Aggregate::write<\/a>"],[75.510204081633,10,"<a href=\"Types.php.html#1393\">Distinct::__construct<\/a>"],[0,1,"<a href=\"Types.php.html#1451\">Distinct::getName<\/a>"],[0,17,"<a href=\"Types.php.html#1455\">Distinct::read<\/a>"],[0,8,"<a href=\"Types.php.html#1529\">Distinct::write<\/a>"],[69.230769230769,4,"<a href=\"Types.php.html#1582\">Suggest::__construct<\/a>"],[0,1,"<a href=\"Types.php.html#1598\">Suggest::getName<\/a>"],[0,5,"<a href=\"Types.php.html#1602\">Suggest::read<\/a>"],[0,2,"<a href=\"Types.php.html#1634\">Suggest::write<\/a>"],[80,16,"<a href=\"Types.php.html#1762\">SearchParams::__construct<\/a>"],[0,1,"<a href=\"Types.php.html#1905\">SearchParams::getName<\/a>"],[0,38,"<a href=\"Types.php.html#1909\">SearchParams::read<\/a>"],[0,34,"<a href=\"Types.php.html#2111\">SearchParams::write<\/a>"],[100,1,"<a href=\"Types.php.html#2318\">Constant::init_CONFIG_CLAUSE_START<\/a>"],[100,1,"<a href=\"Types.php.html#2322\">Constant::init_CONFIG_CLAUSE_HIT<\/a>"],[100,1,"<a href=\"Types.php.html#2326\">Constant::init_CONFIG_CLAUSE_RERANK_SIZE<\/a>"],[100,1,"<a href=\"Types.php.html#2330\">Constant::init_CONFIG_CLAUSE_FORMAT<\/a>"],[100,1,"<a href=\"Types.php.html#2334\">Constant::init_SORT_CLAUSE_INCREASE<\/a>"],[100,1,"<a href=\"Types.php.html#2338\">Constant::init_SORT_CLAUSE_DECREASE<\/a>"],[0,1,"<a href=\"Types.php.html#2342\">Constant::init_SORT_CLAUSE_RANK<\/a>"],[100,1,"<a href=\"Types.php.html#2346\">Constant::init_DISTINCT_CLAUSE_DIST_KEY<\/a>"],[100,1,"<a href=\"Types.php.html#2350\">Constant::init_DISTINCT_CLAUSE_DIST_COUNT<\/a>"],[100,1,"<a href=\"Types.php.html#2354\">Constant::init_DISTINCT_CLAUSE_DIST_TIMES<\/a>"],[100,1,"<a href=\"Types.php.html#2358\">Constant::init_DISTINCT_CLAUSE_RESERVED<\/a>"],[0,1,"<a href=\"Types.php.html#2362\">Constant::init_DISTINCT_CLAUSE_DIST_FILTER<\/a>"],[0,1,"<a href=\"Types.php.html#2366\">Constant::init_DISTINCT_CLAUSE_UPDATE_TOTAL_HIT<\/a>"],[0,1,"<a href=\"Types.php.html#2370\">Constant::init_DISTINCT_CLAUSE_GRADE<\/a>"],[100,1,"<a href=\"Types.php.html#2374\">Constant::init_AGGREGATE_CLAUSE_GROUP_KEY<\/a>"],[100,1,"<a href=\"Types.php.html#2378\">Constant::init_AGGREGATE_CLAUSE_AGG_FUN<\/a>"],[100,1,"<a href=\"Types.php.html#2382\">Constant::init_AGGREGATE_CLAUSE_RANGE<\/a>"],[100,1,"<a href=\"Types.php.html#2386\">Constant::init_AGGREGATE_CLAUSE_MAX_GROUP<\/a>"],[100,1,"<a href=\"Types.php.html#2390\">Constant::init_AGGREGATE_CLAUSE_AGG_FILTER<\/a>"],[100,1,"<a href=\"Types.php.html#2394\">Constant::init_AGGREGATE_CLAUSE_AGG_SAMPLER_THRESHOLD<\/a>"],[100,1,"<a href=\"Types.php.html#2398\">Constant::init_AGGREGATE_CLAUSE_AGG_SAMPLER_STEP<\/a>"],[100,1,"<a href=\"Types.php.html#2402\">Constant::init_SUMMARY_PARAM_SUMMARY_FIELD<\/a>"],[100,1,"<a href=\"Types.php.html#2406\">Constant::init_SUMMARY_PARAM_SUMMARY_LEN<\/a>"],[100,1,"<a href=\"Types.php.html#2410\">Constant::init_SUMMARY_PARAM_SUMMARY_ELLIPSIS<\/a>"],[100,1,"<a href=\"Types.php.html#2414\">Constant::init_SUMMARY_PARAM_SUMMARY_SNIPPET<\/a>"],[0,1,"<a href=\"Types.php.html#2418\">Constant::init_SUMMARY_PARAM_SUMMARY_ELEMENT<\/a>"],[100,1,"<a href=\"Types.php.html#2422\">Constant::init_SUMMARY_PARAM_SUMMARY_ELEMENT_PREFIX<\/a>"],[100,1,"<a href=\"Types.php.html#2426\">Constant::init_SUMMARY_PARAM_SUMMARY_ELEMENT_POSTFIX<\/a>"],[0,1,"<a href=\"Types.php.html#2430\">Constant::init_FORMAT_PARAM<\/a>"]], 'Method Complexity'))
      .transition()
      .duration(500)
      .call(chart);

    nv.utils.windowResize(chart.update);

    return chart;
  });

  function getComplexityData(data, label) {
    var values = [];
    $.each(data, function(key) {
      var value = Math.round(data[key][0]*100) / 100;
      values.push({
        x: value,
        y: data[key][1],
        class: data[key][2],
        size: 0.05,
        shape: 'diamond'
      });
    });

    return [
      {
        key: label,
        values: values,
        color: "#4572A7"
      }
    ];
  }
});
  </script>
 </body>
</html>
